package cn.lysj.framework.foodv2.service;

import cn.lysj.framework.base.BaseService;
import cn.lysj.framework.foodv2.domain.FoodType;
import cn.lysj.framework.foodv2.repository.FoodTypeRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.transaction.Transactional;
import javax.annotation.Resource;

/**
 * @author drj
 * @description 菜品品类服务层
 * @create 2018-11-09 11:21:07
 **/
@Slf4j
@Service
@Transactional
public class FoodTypeService implements BaseService<FoodType> {

    @Resource
    private FoodTypeRepository foodTypeRepository;

    @Override
    public FoodTypeRepository getRepository() {
        return foodTypeRepository;
    }
}